#include <iostream>
using namespace std;
//
//int main(void)
//{
//	char* pc1 = new char[1024];
//	cout << (int*)pc1 << endl;
//	int* pi1 = new int[1024];
//	cout << pi1 << endl;
//	delete[] pc1;
//	delete[] pi1;
//	return 0;
//}
class A
{
public:
	A(int i = 1)
	{
		//cout << "A:" << this << endl;
	}
	~A()
	{
		//cout << "~A:" << this << endl;
	}
private:
	int i;
};

struct ListNode
{
	int _val;
	ListNode* _next;

	ListNode(int i)
		:_val(i)
		,_next(nullptr){}

};

int main()
{

	A* pa = new A(1);
	A* pa2 = new A[10];
	



	delete pa;
	delete[] pa2;
	return 0;
}